package com.zyg.user.handler;

import org.apache.commons.lang3.StringUtils;

public class MyFallBackHandler {

    public static String myFallBackHandler2(Throwable t) {
        String msg = t.getMessage();
        if(StringUtils.isBlank(msg)){
            msg= "出现了Throwable异常!";
        }
        return "myFallBackHandler[自定义类实现]--> :" + msg;
    }
}